Adwaita: set color on osd backdrop buttons
authorLapo Calamandrei <calamandrei@gmail.com>
Thu, 4 Sep 2014 16:59:43 +0000 (18:59 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Thu, 4 Sep 2014 17:00:10 +0000 (19:00 +0200)
gtk/resources/theme/Adwaita/_drawing.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index f44fced929f1598b99defb9d5f68067cdbc4a4e7..fba1e9bb4853c6cefb7a5df771320d800d44b7c7 100644 (file)
   // active osd button
   //
     $_bg: if($c!=$bg_color, $c, $osd_borders_color);
+
     color: white;
     border-color: $osd_borders_color;
     background-image: linear-gradient(to bottom, $_bg);
   // insensitive osd button
   //
     $_bg: transparentize(mix($insensitive_fg_color,$osd_bg_color,20%),0.3);
+
     color: $insensitive_fg_color;
     border-color: $osd_borders_color;
     background-image: linear-gradient(to bottom, $_bg);
   //
     $_bg: if($c!=$bg_color, transparentize($c, 0.5),
                             transparentize($osd_bg_color, 0.3));
+
+    color: $osd_fg_color;
     background-image: linear-gradient(to bottom, $_bg);
     background-clip: padding-box;
     box-shadow: none;
index 411de5a5aafa2f5e5c5bb975e6eca29423ff9ec0..5c74a4c070b4572d36654170c1b42714682e2ac4 100644 (file)
@@ -441,6 +441,7 @@ GtkCalendar.header .button.titlebutton {
       icon-shadow: none;
       border-color: rgba(255, 255, 255, 0.1); }
     .button.osd:backdrop {
+      color: #eeeeec;
       background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
       background-clip: padding-box;
       box-shadow: none;
@@ -499,6 +500,7 @@ GtkCalendar.header .button.titlebutton {
       text-shadow: none;
       icon-shadow: none; }
     .osd .button:backdrop {
+      color: #eeeeec;
       background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
       background-clip: padding-box;
       box-shadow: none;
@@ -606,6 +608,7 @@ GtkCalendar.header .button.titlebutton {
         text-shadow: none;
         icon-shadow: none; }
       .osd .button.suggested-action:backdrop {
+        color: #eeeeec;
         background-image: linear-gradient(to bottom, rgba(33, 93, 156, 0.5));
         background-clip: padding-box;
         box-shadow: none;
@@ -713,6 +716,7 @@ GtkCalendar.header .button.titlebutton {
         text-shadow: none;
         icon-shadow: none; }
       .osd .button.destructive-action:backdrop {
+        color: #eeeeec;
         background-image: linear-gradient(to bottom, rgba(213, 16, 16, 0.5));
         background-clip: padding-box;
         box-shadow: none;
@@ -2685,6 +2689,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
       .osd .scale.slider:backdrop, .osd
       .scale.scale-has-marks-above.scale-has-marks-below.slider:backdrop, .osd
       .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:backdrop {
+        color: #eeeeec;
         background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
         background-clip: padding-box;
         box-shadow: none;
@@ -3360,6 +3365,7 @@ GtkCalendar.header .list-row.button.titlebutton {
       text-shadow: none;
       icon-shadow: none; }
     .app-notification .button:backdrop {
+      color: #eeeeec;
       background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
       background-clip: padding-box;
       box-shadow: none;
index 121958622575607d052f205d315caa9c3e5ca4f1..fb7b37f715ecd87b6efff06131883de72fdfefa7 100644 (file)
@@ -433,6 +433,7 @@ GtkCalendar.header .button.titlebutton {
       icon-shadow: none;
       border-color: rgba(255, 255, 255, 0.1); }
     .button.osd:backdrop {
+      color: #eeeeec;
       background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
       background-clip: padding-box;
       box-shadow: none;
@@ -491,6 +492,7 @@ GtkCalendar.header .button.titlebutton {
       text-shadow: none;
       icon-shadow: none; }
     .osd .button:backdrop {
+      color: #eeeeec;
       background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
       background-clip: padding-box;
       box-shadow: none;
@@ -598,6 +600,7 @@ GtkCalendar.header .button.titlebutton {
         text-shadow: none;
         icon-shadow: none; }
       .osd .button.suggested-action:backdrop {
+        color: #eeeeec;
         background-image: linear-gradient(to bottom, rgba(74, 144, 217, 0.5));
         background-clip: padding-box;
         box-shadow: none;
@@ -705,6 +708,7 @@ GtkCalendar.header .button.titlebutton {
         text-shadow: none;
         icon-shadow: none; }
       .osd .button.destructive-action:backdrop {
+        color: #eeeeec;
         background-image: linear-gradient(to bottom, rgba(239, 41, 41, 0.5));
         background-clip: padding-box;
         box-shadow: none;
@@ -2824,6 +2828,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
       .osd .scale.slider:backdrop, .osd
       .scale.scale-has-marks-above.scale-has-marks-below.slider:backdrop, .osd
       .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:backdrop {
+        color: #eeeeec;
         background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
         background-clip: padding-box;
         box-shadow: none;
@@ -3507,6 +3512,7 @@ GtkCalendar.header .list-row.button.titlebutton {
       text-shadow: none;
       icon-shadow: none; }
     .app-notification .button:backdrop {
+      color: #eeeeec;
       background-image: linear-gradient(to bottom, rgba(46, 52, 54, 0.7));
       background-clip: padding-box;
       box-shadow: none;